import {defineStore} from 'pinia'
export const userLocal = defineStore('qz-user-local', {
    state: () => {
        return {
            userInfo: null,
            userDetail:null
        }
    },
    persist: {
        enabled: true,
        strategies: [
            {
                key: 'qz-user-local',
                storage: localStorage
            }
        ]
    }
})